import request from '@/utils/request'

export function getArticlelist(type) {
    return request({
        url: '/IndexArticle',
        method: 'get',
        params: { type }
    }) 
}

export function getArticleContent(id) {
    return request({
        url: '/articleContent',
        method: 'get',
        params: { id } 
    })
}